# _*_ coding: utf-8 _*_
# _*_ coding: utf-8 _*_
import time
import Page
from Page import BaseInfo
from Operate.BaseOperate import BaseOperate
from selenium.webdriver.common.by import By


class LoginPage(BaseOperate):
    """
    登录页
    """

    # 思为营销云标题
    login_title_text = 'xpath=//*[@id="app"]/div/div/div/p'

    # 账号密码登录btn
    account_password_btn = 'xpath=//*[@id="app"]/div/div/div/div/div[1]/div/div/div/div/div[1]/div[1]'

    # 手机号码登录btn
    cellphone_number_btn = 'xpath=//*[@id="app"]/div/div/div/div/div[1]/div/div/div/div/div[1]/div[2]'

    # 账户输入框
    account_input = 'xpath=//*[@id="username"]'

    # 密码输入框
    password_input = 'xpath=//*[@id="password"]'

    # 登录按钮
    login_btn = 'xpath=/html/body/div[1]/div/div/div/div/div/div[3]/div[1]/form/div[3]/div/div/span/button'

